﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication4
{
    class PE
    {
        public string Name { get;set; }

        public int Weight  {get ;set;}

        public int Height { get; set; }

        public  void Print()
        {
            Console.WriteLine("姓名：{0},体重：{1}，身高：{2}",Name,Weight,Height);
        }

        public void Set(string name, int weight, int height)
        {
           Name =name ;
           Weight=weight;
           Height =height;

        }
    }
}
